package com.tony.multipledatasource.dao;

import com.tony.multipledatasource.entity.Student;

import java.util.List;
import java.util.Map;

/**
 * create by xuxia on 2024/4/8 00:22
 */
public interface StudentDao {

    List<Map<String, Object>> getAllStudentsMapByMySql();

    List<Map<String, Object>> getAllStudentsMapByOracle();

    List<Student> getAllStudentsBeanByMySql();

    List<Student> getAllStudentsBeanByOracle();

    Student getStudentBySnoWithMySql(String sno);

    Student getStudentBySnoWithOracle(String sno);
}
